import request from '@/utils/request'

// 查询极粉评论列表
export function listHairFanReview(query) {
  return request({
    url: '/system/hairFanReview/list',
    method: 'get',
    params: query
  })
}

// 查询极粉评论详细
export function getHairFanReview(id) {
  return request({
    url: '/system/hairFanReview/' + id,
    method: 'get'
  })
}

// 新增极粉评论
export function addHairFanReview(data) {
  return request({
    url: '/system/hairFanReview',
    method: 'post',
    data: data
  })
}

// 修改极粉评论
export function updateHairFanReview(data) {
  return request({
    url: '/system/hairFanReview',
    method: 'put',
    data: data
  })
}

// 删除极粉评论
export function delHairFanReview(id) {
  return request({
    url: '/system/hairFanReview/' + id,
    method: 'delete'
  })
}
